From e02ff7c0642f438e37f4ef46a872eacfb14f529b Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 1 Nov 2016 18:31:13 +0100 Subject: [PATCH] inspector: Collect statistics for unclassable types I want to know how many GskRenderNodes I have! --- gtk/inspector/statistics.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gtk/inspector/statistics.c b/gtk/inspector/statistics.c index 42b315c49d..5baf700549 100644 --- a/gtk/inspector/statistics.c +++ b/gtk/inspector/statistics.c @@ -130,14 +130,9 @@ update_type_counts (gpointer data) { GtkInspectorStatistics *sl = data; GType type; - gpointer class; for (type = G_TYPE_INTERFACE; type <= G_TYPE_FUNDAMENTAL_MAX; type += (1 << G_TYPE_FUNDAMENTAL_SHIFT)) { - class = g_type_class_peek (type); - if (class == NULL) - continue; - if (!G_TYPE_IS_INSTANTIATABLE (type)) continue; -- 2.30.2